package br.com.softway.clinica.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "LOGIN")
public class Login extends BaseEntity {
	private static final long serialVersionUID = -8680870370789807510L;

	@Column(name = "TXT_USUARIOS", length = 20, nullable = false)
	private String username;
	@Column(name = "TXT_SENHA", length = 8, nullable = false)
	private String password;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
